<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        *{margin: 0;padding: 0}
       .container{

        width: 1000px;
        margin-left: auto;
        margin-right: auto;
        height: 1500px;
        background: pink;


       }
       .list>div{

        width: 240px;
        height: 300px;
        border: 1px solid #333;

       }
       .list{

        display: flex;
        justify-content: space-between;
       }
    img{
        width: 240px;
        height: 300px;
    }
    
    </style>
</head>
<body>
    <div class="container">
            <div class="list">
                 <div>
                     <img src="images/banner.jpg" alt="">
                 </div>
                 <div><img src="images/banner.jpg" alt=""></div>
                 <div><img src="images/banner.jpg" alt=""></div>
                 <div><img src="images/banner.jpg" alt=""></div>
            </div>
            <br>
            <div class="list">
                    <div><img src="images/banner.jpg" alt=""></div>
                    <div><img src="images/banner.jpg" alt=""></div>
                    <div><img src="images/banner.jpg" alt=""></div>
                    <div><img src="images/banner.jpg" alt=""></div>
               </div>
    </div>
</body>
</html>